package com.qlyl.modules.counsel.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Transient;


/**
 * @Description: Banners
 * @Author: jeecg-boot
 * @Date:   2020-01-08
 * @Version: V1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("banners")
public class Banners {
    
	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
	private java.lang.String id;

	/**封面图片地址*/
	@Excel(name = "封面图片地址", width = 15)
    @ApiModelProperty(value = "封面图片地址")
	@TableField(value = "face_img")
	private java.lang.String faceImg;

	/**跳转地址*/
	@Excel(name = "跳转链接", width = 15)
    @ApiModelProperty(value = "跳转链接")
	@TableField(value = "jump_url")
	private java.lang.String jumpUrl;

	/**富文本内容*/
	@TableField(exist = false)
	private java.lang.String content;

	/**标题*/
	@Excel(name = "标题", width = 15)
	@ApiModelProperty(value = "标题")
	@TableField(value = "title")
	private String title;

	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	@TableField(value = "create_time")
	private java.util.Date createTime;


	/**
	 * 删除状态（0，正常，1已删除）
	 */
	@TableLogic
	@ApiModelProperty(value = "删除状态0：正常；1：已删除")
	private Integer delFlag;
}
